(function(){var $gwt_version = "2.0.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '45E428E5D4C7FDE7F2631BB3AAD0B0F9';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'simplegadget',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});function s(){}
function N(){}
function M(){}
function L(){}
function K(){}
function pm(){}
function ob(){}
function Cb(){}
function Ob(){}
function Sb(){}
function cc(){}
function ic(){}
function pc(){}
function oc(){}
function Yc(){}
function Xc(){}
function Wc(){}
function md(){}
function ld(){}
function Jd(){}
function Sd(){}
function _d(){}
function ce(){}
function me(){}
function qe(){}
function Ae(){}
function Gf(){}
function bg(){}
function hg(){}
function Jg(){}
function Pg(){}
function Zg(){}
function $g(){}
function ah(){}
function bh(){}
function Og(){}
function fh(){}
function gh(){}
function Ng(){}
function Mg(){}
function Lg(){}
function qh(){}
function wh(){}
function zh(){}
function Fh(){}
function Eh(){}
function Dh(){}
function Sh(){}
function Uh(){}
function Xh(){}
function fi(){}
function ii(){}
function ki(){}
function ri(){}
function Bi(){}
function Mi(){}
function Qi(){}
function Ti(){}
function Yi(){}
function _i(){}
function ej(){}
function hj(){}
function Cj(){}
function Fj(){}
function Mj(){}
function Lj(){}
function ik(){}
function hk(){}
function uk(){}
function Ck(){}
function Bk(){}
function Lk(){}
function Sk(){}
function _k(){}
function hl(){}
function ol(){}
function tl(){}
function Il(){}
function Ml(){}
function _l(){}
function hm(){}
function yh(a){Ug(a)}
function Bh(a){Vg(a)}
function gg(){return cg}
function Xd(){return Td}
function rc(){rc=pm;jc()}
function yc(){yc=pm;rc()}
function li(){li=pm;_h()}
function hi(a){a.b&&Vg(a)}
function Ik(){return null}
function Of(a){return true}
function _f(){Sf&&Wd(Zf())}
function Kb(a){return a.g()}
function hc(a){return bc(a)}
function qd(){return this.c}
function Vd(a){Ye(a,6);ci()}
function Ok(){return this.a}
function El(){return this.b}
function dm(){return this.a}
function em(){return this.b}
function ed(){return gd(),fd}
function nh(a,b){jh(a,b,a.f)}
function ui(a,b){wi(a,b,a.b)}
function Oi(a){gc();return a}
function Vi(a){gc();return a}
function bj(a){gc();return a}
function gj(a){gc();return a}
function jm(a){gc();return a}
function R(a,b){gc();return a}
function Pf(a,b){pg();xg(a,b)}
function fg(a){hf(a);null.B()}
function Ld(a){a.a={};return a}
function Kl(a){Uj(a);return a}
function tj(){return Aj(this)}
function Hi(){return Fi(this)}
function tk(){return this.a.d}
function Jk(){return this.a.b}
function gl(){return el(this)}
function Wl(){return this.a.d}
function $i(a,b){gc();return a}
function cj(a,b){gc();return a}
function Ej(a,b){gc();return a}
function Qb(a,b){a.a=b;return a}
function Ub(a,b){a.a=b;return a}
function Ei(a,b){a.b=b;return a}
function nk(a,b){a.a=b;return a}
function zk(){return dl(this.a)}
function nl(){return this.b.a.d}
function dl(a){return a.a<a.b.b}
function pd(a){a.c=++nd;return a}
function jc(){jc=pm;yc();new oc}
function yj(){yj=pm;vj={};xj={}}
function Eb(){Eb=pm;Db=Gb(new Cb)}
function cl(a,b){a.b=b;return a}
function Hk(a,b){a.a=b;return a}
function ql(a,b){a.a=b;return a}
function rk(a){return ok(this,a)}
function jd(a){id(this,Ye(a,4))}
function jj(a,b,c,d,e){return a}
function Tg(a,b){!!a.d&&ke(a.d,b)}
function Xe(a,b){return a&&Ue[a][b]}
function $j(b,a){return pn+a in b.e}
function Wf(a,b){return he(Zf(),a,b)}
function dh(){vh(this,(th(),rh))}
function eh(){vh(this,(th(),sh))}
function dg(){dg=pm;cg=pd(new md)}
function rl(){return dl(this.a.a)}
function Ai(){return Ei(new Bi,this)}
function Ij(a){throw Ej(new Cj,vo)}
function Kk(a){return bk(this.a,a)}
function ll(a){return Vj(this.a,a)}
function Ul(a){return Vj(this.a,a)}
function fl(){return this.a<this.b.b}
function lh(){return Ei(new Bi,this.a)}
function We(a,b){return a&&!!Ue[a][b]}
function Gi(){return this.a<this.b.b-1}
function sk(){return wk(new uk,this.a)}
function Ak(){return Ye(el(this.a),19)}
function Dl(a){return Al(this,a,0)!=-1}
function Qk(a,b){return Nk(new Lk,b,a)}
function Pk(){return this.b.e[pn+this.a]}
function Ol(a){a.a=Kl(new Il);return a}
function pg(){if(!lg){wg();lg=true}}
function U(a,b){gc();a.a=b;fc(a);return a}
function Nk(a,b,c){a.b=c;a.a=b;return a}
function Wk(a,b){(a<0||a>=b)&&Zk(a,b)}
function zl(a,b){Wk(b,a.b);return a.a[b]}
function te(a){a.a=Kl(new Il);return a}
function Rk(a){return ck(this.b,this.a,a)}
function jl(a,b,c){a.a=b;a.b=c;return a}
function bm(a,b,c){a.a=b;a.b=c;return a}
function _e(a,b){return a!=null&&We(a.tI,b)}
function ti(a){a.a=Ie(kf,0,3,4,0);return a}
function wl(a){a.a=Ie(lf,0,0,0,0);return a}
function w(a){return this===(a==null?null:a)}
function $k(){return cl(new _k,Ye(this,8))}
function x(){return this.$H||(this.$H=++tb)}
function th(){th=pm;rh=new wh;sh=new zh}
function Hb(a){var b;b=a.b;a.b=[];Mb(b,a.b)}
function Wd(a){var b;if(Td){b=new Sd;ke(a,b)}}
function gm(a){var b;b=this.b;this.b=a;return b}
function Zk(a,b){throw cj(new _i,wo+a+xo+b)}
function xl(a,b){Le(a.a,a.b++,b);return true}
function id(a){Ye(a.d,3);$wnd.alert(xn)}
function mi(a){li();ai(a,$doc.body);return a}
function Zf(){!Tf&&(Tf=jg(new hg));return Tf}
function Ih(a,b){a.f=b;a.f.tabIndex=0;return a}
function Vk(a){yl(this,this.v(),a);return true}
function oe(a,b,c,d){a.a=b;a.c=c;a.b=d;return a}
function ie(a,b){!a.a&&(a.a=wl(new tl));xl(a.a,b)}
function kc(a,b){var c;c=tc(a,sn);c.text=b;return c}
function Pl(a,b){var c;c=_j(a.a,b,a);return c==null}
function Jj(a){var b;b=Hj(this.p(),a);return !!b}
function Cl(a){return Le(this.a,this.b++,a),true}
function Jb(a){return a.a.length>0||a.e.length>0}
function af(a){return a!=null&&a.tM!=pm&&a.tI!=2}
function hf(a){if(a!=null){throw Vi(new Ti)}return a}
function bi(a){_h();try{Vg(a)}finally{dk($h.a,a)!=null}}
function oh(a,b){var c;c=kh(a,b);c&&ph(b.f);return c}
function Tl(a){var b;return b=_j(this.a,a,this),b==null}
function sl(){var a;a=Ye(el(this.a.a),19);return a.y()}
function Pe(){Pe=pm;Ne=[];Oe=[];Qe(new Ae,Ne,Oe)}
function gd(){gd=pm;fd=sd(new ld,wn,(gd(),new Wc))}
function _h(){_h=pm;Yh=new fi;Zh=Kl(new Il);$h=Ol(new Ml)}
function Uj(a){a.a=[];a.e={};a.c=false;a.b=null;a.d=0}
function Ib(a){var b;b=a.a;a.a=[];Mb(b,a.e);a.e=Lb(a.e)}
function Oj(a){var b;b=nk(new hk,a);return jl(new hl,a,b)}
function Vf(a){$f();return Wf(Td?Td:(Td=pd(new md)),a)}
function wb(a){return function(){return xb(a,this,arguments)}}
function Vb(){this.a.c&&Nb(this.a.d,1);return this.a.f}
function ml(){var a;return a=wk(new uk,this.b.a),ql(new ol,a)}
function ai(a,b){_h();a.a=ti(new ri);a.f=b;Ug(a);return a}
function jg(a){a.d=te(new qe);a.e=null;a.c=false;return a}
function fe(a,b){a.d=te(new qe);a.e=b;a.c=false;return a}
function ph(a){a.style[no]=ln;a.style[oo]=ln;a.style[po]=ln}
function db(a){return a.tM==pm||a.tI==2?a.hC():a.$H||(a.$H=++tb)}
function dk(a,b){return !b?fk(a):ek(a,b,~~(b.$H||(b.$H=++tb)))}
function jh(a,b,c){Wg(b);ui(a.a,b);c.appendChild(b.f);Xg(b,a)}
function yl(a,b,c){(b<0||b>a.b)&&Zk(b,a.b);a.a.splice(b,0,c);++a.b}
function bk(a,b){var c;c=a.b;a.b=b;if(!a.c){a.c=true;++a.d}return c}
function zi(a,b){var c;c=vi(a,b);if(c==-1){throw jm(new hm)}yi(a,c)}
function el(a){if(a.a>=a.b.b){throw jm(new hm)}return zl(a.b,a.a++)}
function Fi(a){if(a.a>=a.b.b){throw jm(new hm)}return a.b.a[++a.a]}
function ci(){_h();try{vh($h,Yh)}finally{Uj($h.a);Uj(Zh)}}
function uf(a){if(a!=null&&We(a.tI,14)){return a}return U(new K,a)}
function Ye(a,b){if(a!=null&&!Xe(a.tI,b)){throw Vi(new Ti)}return a}
function Ze(a){if(a!=null&&(a.tM==pm||a.tI==2)){throw Vi(new Ti)}return a}
function fk(a){var b;b=a.b;a.b=null;if(a.c){a.c=false;--a.d}return b}
function Yg(a,b){a.c==-1?Pf(a.f,b|(a.f.__eventBits||0)):(a.c|=b)}
function he(a,b,c){a.b>0?ie(a,oe(new me,a,b,c)):ue(a.d,b,c);return new _d}
function Sg(a,b,c){Yg(a,ng(c.b));return he(!a.d?(a.d=fe(new ce,a)):a.d,c,b)}
function Ge(a,b){var c,d;c=a;d=He(0,b);Je(c.aC,c.tI,c.qI,d);return d}
function vi(a,b){var c;for(c=0;c<a.b;++c){if(a.a[c]==b){return c}}return -1}
function Se(a,b,c){Pe();for(var d=0,e=b.length;d<e;++d){a[b[d]]=c[d]}}
function Je(a,b,c,d){Pe();Se(d,Ne,Oe);d.aC=a;d.tI=b;d.qI=c;return d}
function Qe(a,b,c){var d=0,e;for(var f in a){if(e=a[f]){b[d]=f;c[d]=e;++d}}}
function Al(a,b,c){for(;c<a.b;++c){if(om(b,a.a[c])){return c}}return -1}
function sj(a){if(!(a!=null&&We(a.tI,1))){return false}return String(this)==a}
function Vl(){var a;return a=wk(new uk,Oj(this.a).b.a),ql(new ol,a)}
function ag(){var a;if(Sf){a=(dg(),new bg);!!Tf&&ke(Tf,a);return null}return null}
function ck(e,a,b){var c,d=e.e;a=pn+a;a in d?(c=d[a]):++e.d;d[a]=b;return c}
function gk(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function Ll(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function om(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function Vj(a,b){return b==null?a.c:b!=null&&We(b.tI,1)?$j(a,Ye(b,1)):Zj(a,b,~~db(b))}
function Wj(a,b){return b==null?a.b:b!=null&&We(b.tI,1)?a.e[pn+Ye(b,1)]:Xj(a,b,~~db(b))}
function bb(a,b){return a.tM==pm||a.tI==2?a.eQ(b):(a==null?null:a)===(b==null?null:b)}
function sd(a,b,c){a.c=++nd;a.a=c;!_c&&(_c=Ld(new Jd));_c.a[b]=a;a.b=b;return a}
function Gb(a){Eb();a.d=Qb(new Ob,a);Ub(new Sb,a);a.a=[];a.e=[];a.b=[];return a}
function Rb(){this.a.c=true;Ib(this.a);this.a.c=false;return this.a.f=Jb(this.a)}
function xb(a,b,c){var d;d=sb++==0;try{return a.apply(b,c)}finally{d&&Hb((Eb(),Db));--sb}}
function ue(a,b,c){var d;d=Ye(Wj(a.a,b),8);if(!d){d=wl(new tl);_j(a.a,b,d)}Le(d.a,d.b++,c)}
function Ie(a,b,c,d,e){var f;f=He(e,d);Pe();Se(f,Ne,Oe);f.aC=a;f.tI=b;f.qI=c;return f}
function Hj(a,b){var c;while(a.r()){c=a.s();if(b==null?c==null:bb(b,c)){return a}}return null}
function Mf(a,b,c){var d;d=Jf;Jf=a;b==Kf&&ng((jc(),a).type)==8192&&(Kf=null);c.k(a);Jf=d}
function Fk(){var a,b;a=0;b=0;this.y()!=null&&(a=db(this.y()));this.z()!=null&&(b=db(this.z()));return a^b}
function lk(){var a,b,c;a=0;for(b=this.p();b.r();){c=b.s();if(c!=null){a+=db(c);a=~~a}}return a}
function mc(a){var b=a.firstChild;while(b&&b.nodeType!=1)b=b.nextSibling;return b}
function Aj(a){yj();var b=pn+a;var c=xj[b];if(c!=null){return c}c=vj[b];c==null&&(c=zj(a));Bj();return xj[b]=c}
function Kh(a,b){Ih(a,(jc(),$doc).createElement(ro));a.f[so]=to;a.f.innerHTML=b||ln;return a}
function uh(a,b){th();R(a,qo,b.a.d==0?null:Ye(b.w(Ie(nf,47,14,0,0)),17)[0]);return a}
function _j(a,b,c){return b==null?bk(a,c):b!=null&&We(b.tI,1)?ck(a,Ye(b,1),c):ak(a,b,c,~~db(b))}
function wk(a,b){var c;a.b=b;c=wl(new tl);a.b.c&&xl(c,Hk(new Bk,a.b));Tj(a.b,c);Sj(a.b,c);a.a=cl(new _k,c);return a}
function Tj(e,a){var b=e.e;for(var c in b){if(c.charCodeAt(0)==58){var d=Qk(e,c.substring(1));a.t(d)}}}
function He(a,b){var c=new Array(b);if(a>0){var d=[null,0,false,[0,0]][a];for(var e=0;e<b;++e){c[e]=d}}return c}
function yi(a,b){var c;if(b<0||b>=a.b){throw bj(new _i)}--a.b;for(c=b;c<a.b;++c){Le(a.a,c,a.a[c+1])}Le(a.a,a.b,null)}
function Ug(a){var b;if(a.b){throw $i(new Yi,jo)}a.b=true;a.f.__listener=a;b=a.c;a.c=-1;b>0&&Yg(a,b);a.l();a.n()}
function Vg(a){if(!a.b){throw $i(new Yi,ko)}try{a.o()}finally{try{a.m()}finally{a.f.__listener=null;a.b=false}}}
function Wg(a){if(!a.e){_h();Vj($h.a,a)&&bi(a)}else if(a.e){oh(a.e,a)}else if(a.e){throw $i(new Yi,lo)}}
function di(a){_h();var b;b=Ye(Wj(Zh,a),18);if(b){return b}Zh.d==0&&Vf(new ii);b=mi(new ki);_j(Zh,a,b);Pl($h,b);return b}
function Bj(){if(wj==256){vj=xj;xj={};wj=0}++wj}
function Nb(b,c){Eb();$wnd.setTimeout(function(){var a=$entry(Kb)(b);a&&$wnd.setTimeout(arguments.callee,c)},c)}
function gwtOnLoad(b,c,d){$moduleName=c;$moduleBase=d;if(b)try{$entry(rf)()}catch(a){b(c)}else{$entry(rf)()}}
function Xg(a,b){var c;c=a.e;if(!b){try{!!c&&c.b&&Vg(a)}finally{a.e=null}}else{if(c){throw $i(new Yi,mo)}a.e=b;b.b&&Ug(a)}}
function le(a){var b,c;if(a.a){try{for(c=cl(new _k,a.a);c.a<c.b.b;){b=Ye(el(c),7);ue(b.a.d,b.c,b.b)}}finally{a.a=null}}}
function Qj(){var a,b,c;c=0;for(b=wk(new uk,nk(new hk,Ye(this,20)).a);dl(b.a);){a=Ye(el(b.a),19);c+=a.hC();c=~~c}return c}
function Yk(){var a,b,c;b=1;a=cl(new _k,Ye(this,8));while(a.a<a.b.b){c=el(a);b=31*b+(c==null?0:db(c));b=~~b}return b}
function gc(){var a,b,c,d;c=ec(new cc);d=Ie(mf,0,13,c.length,0);for(a=0,b=d.length;a<b;++a){d[a]=jj(new hj,qn,c[a],rn,0)}P(d)}
function P(a){var b,c,d;c=Ie(mf,0,13,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d]){throw gj(new ej)}c[d]=a[d]}}
function Xj(h,a,b){var c=h.a[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.y();if(h.x(a,g)){return f.z()}}}return null}
function Zj(h,a,b){var c=h.a[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.y();if(h.x(a,g)){return true}}}return false}
function Sj(g,a){var b=g.a;for(var c in b){if(c==parseInt(c)){var d=b[c];for(var e=0,f=d.length;e<f;++e){a.t(d[e])}}}}
function yg(){var a=false;for(var b=0;b<$wnd.__gwt_globalEventArray.length;b++){!$wnd.__gwt_globalEventArray[b]()&&(a=true)}return !a}
function Ek(a){var b;if(a!=null&&We(a.tI,19)){b=Ye(a,19);if(om(this.y(),b.y())&&om(this.z(),b.z())){return true}}return false}
function ok(a,b){var c,d,e;if(b!=null&&We(b.tI,19)){c=Ye(b,19);d=c.y();if(Vj(a.a,d)){e=Wj(a.a,d);return Ll(c.z(),e)}}return false}
function dd(a,b,c){var d,e,f;if(_c){f=Ye(_c.a[(jc(),a).type],5);if(f){d=f.a.a;e=f.a.b;f.a.a=a;f.a.b=c;Tg(b,f.a);f.a.a=d;f.a.b=e}}}
function ke(a,b){var c;if(b.c){b.c=false;b.d=null}c=b.d;b.d=a.e;try{++a.b;ve(a.d,b,a.c)}finally{--a.b;a.b==0&&le(a)}if(c==null){b.c=true;b.d=null}else{b.d=c}}
function bc(a){var b,c,d;d=ln;a=qj(a);b=a.indexOf(mn);if(b!=-1){c=a.indexOf(nn)==0?8:0;d=qj(a.substr(c,b-c))}return d.length>0?d:on}
function fc(a){var b,c,d,e;d=(af(a.a)?Ze(a.a):null,[]);e=Ie(mf,0,13,d.length,0);for(b=0,c=e.length;b<c;++b){e[b]=jj(new hj,qn,d[b],rn,0)}P(e)}
function Kj(a){var b,c,d,e;e=this.v();a.length<e&&(a=Ge(a,e));d=a;c=this.p();for(b=0;b<e;++b){Le(d,b,c.s())}a.length>e&&Le(a,e,null);return a}
function Gl(a){var b,c,d;a.length<this.b&&(a=(c=a,d=He(0,this.b),Je(c.aC,c.tI,c.qI,d),d));for(b=0;b<this.b;++b){Le(a,b,this.a[b])}a.length>this.b&&Le(a,this.b,null);return a}
function qj(c){if(c.length==0||c[0]>uo&&c[c.length-1]>uo){return c}var a=c.replace(/^(\s*)/,ln);var b=a.replace(/\s*$/,ln);return b}
function xc(a,b){if(a.nodeType!=1&&a.nodeType!=9){return a==b}if(b.nodeType!=1){b=b.parentNode;if(!b){return false}}return a===b||a.contains(b)}
function Le(a,b,c){if(c!=null){if(a.qI>0&&!Xe(c.tI,a.qI)){throw Oi(new Mi)}if(a.qI<0&&(c.tM==pm||c.tI==2)){throw Oi(new Mi)}}return a[b]=c}
function wi(a,b,c){var d,e;if(c<0||c>a.b){throw bj(new _i)}if(a.b==a.a.length){e=Ie(kf,0,3,a.a.length*2,0);for(d=0;d<a.a.length;++d){Le(e,d,a.a[d])}a.a=e}++a.b;for(d=a.b-1;d>c;--d){Le(a.a,d,a.a[d-1])}Le(a.a,c,b)}
function vh(b,c){var i;th();var a,e,f,g,h;e=null;for(h=b.p();h.r();){g=Ye(h.s(),3);try{c.q(g)}catch(a){a=uf(a);if(_e(a,14)){f=a;!e&&(e=Ol(new Ml));i=_j(e.a,f,e)}else throw a}}if(e){throw uh(new qh,e)}}
function ak(j,a,b,c){var d=j.a[c];if(d){for(var e=0,f=d.length;e<f;++e){var g=d[e];var h=g.y();if(j.x(a,h)){var i=g.z();g.A(b);return i}}}else{d=j.a[c]=[]}var g=bm(new _l,a,b);d.push(g);++j.d;return null}
function zj(a){var b,c,d,e;b=0;d=a.length;e=d-4;c=0;while(c<e){b=a.charCodeAt(c+3)+31*(a.charCodeAt(c+2)+31*(a.charCodeAt(c+1)+31*(a.charCodeAt(c)+31*b)))|0;c+=4}while(c<d){b=b*31+a.charCodeAt(c++)}return b|0}
function kk(a){var b,c,d;if((a==null?null:a)===this){return true}if(!(a!=null&&We(a.tI,21))){return false}c=Ye(a,21);if(c.v()!=this.v()){return false}for(b=c.p();b.r();){d=b.s();if(!this.u(d)){return false}}return true}
function tc(a,b){var c,d;if(b.indexOf(pn)!=-1){c=(!a.__gwt_container&&(a.__gwt_container=a.createElement(tn)),a.__gwt_container);c.innerHTML=un+b+vn||ln;d=mc((jc(),c));c.removeChild(d);return d}return a.createElement(b)}
function rf(){var a,b;!!$stats&&$stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:yn,evtGroup:zn,millis:(new Date).getTime(),type:An,className:Bn});a=Kh(new Dh,Cn);b=new Uh;Sg(a,b,(gd(),gd(),fd));nh((_h(),di(null)),a)}
function ve(a,b,c){var d,e,f,g,h,i,j;g=b.j();d=(h=Ye(Wj(a.a,g),8),!h?0:h.b);if(c){for(f=d-1;f>=0;--f){e=(i=Ye(Wj(a.a,g),8),Ye((Wk(f,i.b),i.a[f]),16));b.i(e)}}else{for(f=0;f<d;++f){e=(j=Ye(Wj(a.a,g),8),Ye((Wk(f,j.b),j.a[f]),16));b.i(e)}}}
function ec(i){var a={};var b=[];var c=arguments.callee.caller.caller;while(c){var d=i.h(c.toString());b.push(d);var e=pn+d;var f=a[e];if(f){var g,h;for(g=0,h=f.length;g<h;g++){if(f[g]===c){return b}}}(f||(a[e]=[])).push(c);c=c.caller}return b}
function Lb(a){var b,c,d,e,f,g;b=false;d=a.length;f=(new Date).getTime();while((new Date).getTime()-f<100){for(c=0;c<d;++c){g=a[c];if(!g){continue}if(!g[0].g()){a[c]=null;b=true}}}if(b){e=[];for(c=0;c<d;++c){if(!a[c]){continue}e[e.length]=a[c]}return e}else{return a}}
function Mb(b,c){var a,e,f,g;for(e=0,f=b.length;e<f;++e){g=b[e];try{g[1]?g[0].g()&&(c[c.length]=g,undefined):g[0].B()}catch(a){a=uf(a);if(!_e(a,2))throw a}}}
function Xk(a){var b,c,d,e,f;if((a==null?null:a)===this){return true}if(!(a!=null&&We(a.tI,8))){return false}f=Ye(a,8);if(this.v()!=f.b){return false}d=cl(new _k,Ye(this,8));e=cl(new _k,f);while(d.a<d.b.b){b=el(d);c=el(e);if(!(b==null?c==null:bb(b,c))){return false}}return true}
function _g(a){var b;switch(ng((jc(),a).type)){case 16:case 32:b=a.relatedTarget||(a.type==Pn?a.toElement:a.fromElement);if(!!b&&xc(this.f,b)){return}}dd(a,this,this.f)}
function ng(a){switch(a){case En:return 4096;case Fn:return 1024;case wn:return 1;case Gn:return 2;case Hn:return 2048;case In:return 128;case Jn:return 256;case Kn:return 512;case Ln:return 32768;case Mn:return 8192;case Nn:return 4;case On:return 64;case Pn:return 32;case Qn:return 16;case Rn:return 8;case Sn:return 16384;case Tn:return 65536;case Un:return 131072;case Vn:return 131072;case Wn:return 262144;case Xn:return 524288;}}
function kh(a,b){var c,d;if(b.e!=a){return false}try{Xg(b,null)}finally{c=b.f;(d=(jc(),c).parentNode,(!d||d.nodeType!=1)&&(d=null),d).removeChild(c);zi(a.a,b)}return true}
function Pj(a){var b,c,d,e,f;if((a==null?null:a)===this){return true}if(!(a!=null&&We(a.tI,20))){return false}e=Ye(a,20);if(Ye(this,20).d!=e.d){return false}for(c=wk(new uk,nk(new hk,e).a);dl(c.a);){b=Ye(el(c.a),19);d=b.y();f=b.z();if(!(d==null?Ye(this,20).c:d!=null&&We(d.tI,1)?$j(Ye(this,20),Ye(d,1)):Zj(Ye(this,20),d,~~db(d)))){return false}if(!om(f,d==null?Ye(this,20).b:d!=null&&We(d.tI,1)?Ye(this,20).e[pn+Ye(d,1)]:Xj(Ye(this,20),d,~~db(d)))){return false}}return true}
function ek(h,a,b){var c=h.a[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.y();if(h.x(a,g)){c.length==1?delete h.a[b]:c.splice(d,1);--h.d;return f.z()}}}return null}
function xg(a,b){var c=(a.__eventBits||0)^b;a.__eventBits=b;if(!c)return;c&1&&(a.onclick=b&1?ug:null);c&3&&(a.ondblclick=b&3?tg:null);c&4&&(a.onmousedown=b&4?ug:null);c&8&&(a.onmouseup=b&8?ug:null);c&16&&(a.onmouseover=b&16?ug:null);c&32&&(a.onmouseout=b&32?ug:null);c&64&&(a.onmousemove=b&64?ug:null);c&128&&(a.onkeydown=b&128?ug:null);c&256&&(a.onkeypress=b&256?ug:null);c&512&&(a.onkeyup=b&512?ug:null);c&1024&&(a.onchange=b&1024?ug:null);c&2048&&(a.onfocus=b&2048?ug:null);c&4096&&(a.onblur=b&4096?ug:null);c&8192&&(a.onlosecapture=b&8192?ug:null);c&16384&&(a.onscroll=b&16384?ug:null);c&32768&&(a.onload=b&32768?ug:null);c&65536&&(a.onerror=b&65536?ug:null);c&131072&&(a.onmousewheel=b&131072?ug:null);c&262144&&(a.oncontextmenu=b&262144?ug:null);c&524288&&(a.onpaste=b&524288?ug:null)}
function $f(){var a;if(!Sf){a=kc((jc(),$doc),(!Gg&&(Gg=new Jg),Dn));$doc.body.appendChild(a);$wnd.__gwt_initWindowCloseHandler($entry(ag),$entry(_f));$doc.body.removeChild(a);Sf=true}}
function wg(){$wnd.__gwt_globalEventArray==null&&($wnd.__gwt_globalEventArray=new Array);$wnd.__gwt_globalEventArray[$wnd.__gwt_globalEventArray.length]=$entry(function(){return Of($wnd.event)});ug=$entry(function(){var a=(rc(),qc);qc=this;if($wnd.event.returnValue==null){$wnd.event.returnValue=true;if(!yg()){qc=a;return}}var b,c=this;while(c&&!(b=c.__listener)){c=c.parentElement}b&&!(b!=null&&b.tM!=pm&&b.tI!=2)&&b!=null&&We(b.tI,10)&&Mf($wnd.event,c,b);qc=a});tg=$entry(function(){var a=$doc.createEventObject();$wnd.event.returnValue==null&&$wnd.event.srcElement.fireEvent(Yn,a);if(this.__eventBits&2){ug.call(this)}else if($wnd.event.returnValue==null){$wnd.event.returnValue=true;yg()}});var d=$entry(function(){ug.call($doc.body)});var e=$entry(function(){tg.call($doc.body)});$doc.body.attachEvent(Yn,d);$doc.body.attachEvent(Zn,d);$doc.body.attachEvent($n,d);$doc.body.attachEvent(_n,d);$doc.body.attachEvent(ao,d);$doc.body.attachEvent(bo,d);$doc.body.attachEvent(co,d);$doc.body.attachEvent(eo,d);$doc.body.attachEvent(fo,d);$doc.body.attachEvent(go,d);$doc.body.attachEvent(ho,e);$doc.body.attachEvent(io,d)}
var ln='',uo=' ',mn='(',xo=', Size: ',vn='/>',pn=':',un='<',ro="<BUTTON type='button'><\/BUTTON>",vo='Add not supported on this collection',mo='Cannot set a new parent without first clearing the old parent',Vn='DOMMouseScroll',xn='Hello World!',wo='Index: ',qo='One or more exceptions caught, see full set in AttachDetachException#getCauses',jo="Should only call onAttach when the widget is detached from the browser's document",ko="Should only call onDetach when the widget is attached to the browser's document",Cn='SimpleGadget',lo="This widget's parent does not implement HasWidgets",qn='Unknown',rn='Unknown source',on='anonymous',En='blur',Fn='change',so='className',wn='click',Bn='com.example.simplegadget.client.SimpleGadget',Wn='contextmenu',Gn='dblclick',tn='div',Tn='error',Hn='focus',nn='function',Dn='function __gwt_initWindowCloseHandler(beforeunload, unload) {\r\n  var wnd = window\r\n  , oldOnBeforeUnload = wnd.onbeforeunload\r\n  , oldOnUnload = wnd.onunload;\r\n  \r\n  wnd.onbeforeunload = function(evt) {\r\n    var ret, oldRet;\r\n    try {\r\n      ret = beforeunload();\r\n    } finally {\r\n      oldRet = oldOnBeforeUnload && oldOnBeforeUnload(evt);\r\n    }\r\n    // Avoid returning null as IE6 will coerce it into a string.\r\n    // Ensure that "" gets returned properly.\r\n    if (ret != null) {\r\n      return ret;\r\n    }\r\n    if (oldRet != null) {\r\n      return oldRet;\r\n    }\r\n    // returns undefined.\r\n  };\r\n  \r\n  wnd.onunload = function(evt) {\r\n    try {\r\n      unload();\r\n    } finally {\r\n      oldOnUnload && oldOnUnload(evt);\r\n      wnd.onresize = null;\r\n      wnd.onscroll = null;\r\n      wnd.onbeforeunload = null;\r\n      wnd.onunload = null;\r\n    }\r\n  };\r\n  \r\n  // Remove the reference once we\'ve initialize the handler\r\n  wnd.__gwt_initWindowCloseHandler = undefined;\r\n}\r\n',to='gwt-Button',In='keydown',Jn='keypress',Kn='keyup',no='left',Ln='load',Mn='losecapture',zn='moduleStartup',Nn='mousedown',On='mousemove',Pn='mouseout',Qn='mouseover',Rn='mouseup',Un='mousewheel',An='onModuleLoadStart',go='onblur',Yn='onclick',io='oncontextmenu',ho='ondblclick',fo='onfocus',bo='onkeydown',co='onkeypress',eo='onkeyup',Zn='onmousedown',_n='onmousemove',$n='onmouseup',ao='onmousewheel',Xn='paste',po='position',sn='script',Sn='scroll',yn='startup',oo='top';var _;_=s.prototype={};_.eQ=w;_.hC=x;_.tM=pm;_.tI=1;_=N.prototype=new s;_.tI=3;_=M.prototype=new N;_.tI=4;_=L.prototype=new M;_.tI=5;_=K.prototype=new L;_.tI=6;_.a=null;_=ob.prototype=new s;_.tI=0;var sb=0,tb=0;_=Cb.prototype=new ob;_.tI=0;_.c=false;_.f=false;var Db;_=Ob.prototype=new s;_.g=Rb;_.tI=0;_.a=null;_=Sb.prototype=new s;_.g=Vb;_.tI=0;_.a=null;_=cc.prototype=new s;_.h=hc;_.tI=0;_=ic.prototype=new s;_.tI=0;_=pc.prototype=new ic;_.tI=0;var qc=null;_=oc.prototype=new pc;_.tI=0;_=Yc.prototype=new s;_.tI=0;_.c=false;_.d=null;_=Xc.prototype=new Yc;_.j=ed;_.tI=0;_.a=null;_.b=null;var _c=null;_=Wc.prototype=new Xc;_.i=jd;_.tI=0;var fd;_=md.prototype=new s;_.hC=qd;_.tI=0;_.c=0;var nd=0;_=ld.prototype=new md;_.tI=7;_.a=null;_.b=null;_=Jd.prototype=new s;_.tI=0;_.a=null;_=Sd.prototype=new Yc;_.i=Vd;_.j=Xd;_.tI=0;var Td=null;_=_d.prototype=new s;_.tI=0;_=ce.prototype=new s;_.tI=0;_.a=null;_.b=0;_.c=false;_.d=null;_.e=null;_=me.prototype=new s;_.tI=8;_.a=null;_.b=null;_.c=null;_=qe.prototype=new s;_.tI=0;_=Ae.prototype=new s;_.tI=0;_.aC=null;_.length=0;_.qI=0;var Ne,Oe;var Ue=[{},{},{1:1,12:1},{12:1,14:1},{12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{5:1},{7:1},{16:1},{9:1},{11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{2:1,12:1,14:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{16:1},{4:1,16:1},{3:1,9:1,10:1,11:1,18:1},{6:1,16:1},{3:1,9:1,10:1,11:1,18:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{12:1,14:1},{12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{12:1,13:1},{2:1,12:1,14:1},{21:1},{21:1},{19:1},{19:1},{19:1},{21:1},{8:1,12:1},{12:1,20:1},{12:1,21:1},{19:1},{2:1,12:1,14:1},{15:1},{17:1}];_=Gf.prototype=new s;_.tI=9;var Jf=null,Kf=null;var Sf=false,Tf=null;_=bg.prototype=new Yc;_.i=fg;_.j=gg;_.tI=0;var cg;_=hg.prototype=new ce;_.tI=10;var lg=false;var tg=null,ug=null;var Gg=null;_=Jg.prototype=new s;_.tI=0;_=Pg.prototype=new s;_.tI=11;_.f=null;_=Og.prototype=new Pg;_.l=Zg;_.m=$g;_.k=_g;_.n=ah;_.o=bh;_.tI=12;_.b=false;_.c=0;_.d=null;_.e=null;_=Ng.prototype=new Og;_.l=dh;_.m=eh;_.n=fh;_.o=gh;_.tI=13;_=Mg.prototype=new Ng;_.p=lh;_.tI=14;_=Lg.prototype=new Mg;_.tI=15;_=qh.prototype=new L;_.tI=16;var rh,sh;_=wh.prototype=new s;_.q=yh;_.tI=0;_=zh.prototype=new s;_.q=Bh;_.tI=0;_=Fh.prototype=new Og;_.tI=17;_=Eh.prototype=new Fh;_.tI=18;_=Dh.prototype=new Eh;_.tI=19;_=Sh.prototype=new Gf;_.tI=20;_=Uh.prototype=new Sh;_.tI=21;_=Xh.prototype=new Lg;_.tI=22;var Yh,Zh,$h;_=fi.prototype=new s;_.q=hi;_.tI=0;_=ii.prototype=new s;_.tI=23;_=ki.prototype=new Xh;_.tI=24;_=ri.prototype=new s;_.p=Ai;_.tI=0;_.a=null;_.b=0;_=Bi.prototype=new s;_.r=Gi;_.s=Hi;_.tI=0;_.a=-1;_.b=null;_=Mi.prototype=new L;_.tI=26;_=Qi.prototype=new s;_.tI=0;_=Ti.prototype=new L;_.tI=29;_=Yi.prototype=new L;_.tI=30;_=_i.prototype=new L;_.tI=31;_=ej.prototype=new L;_.tI=32;_=hj.prototype=new s;_.tI=33;_=String.prototype;_.eQ=sj;_.hC=tj;_.tI=2;var vj,wj=0,xj;_=Cj.prototype=new L;_.tI=34;_=Fj.prototype=new s;_.t=Ij;_.u=Jj;_.w=Kj;_.tI=0;_=Mj.prototype=new s;_.eQ=Pj;_.hC=Qj;_.tI=0;_=Lj.prototype=new Mj;_.x=gk;_.tI=0;_.a=null;_.b=null;_.c=false;_.d=0;_.e=null;_=ik.prototype=new Fj;_.eQ=kk;_.hC=lk;_.tI=35;_=hk.prototype=new ik;_.u=rk;_.p=sk;_.v=tk;_.tI=36;_.a=null;_=uk.prototype=new s;_.r=zk;_.s=Ak;_.tI=0;_.a=null;_.b=null;_=Ck.prototype=new s;_.eQ=Ek;_.hC=Fk;_.tI=37;_=Bk.prototype=new Ck;_.y=Ik;_.z=Jk;_.A=Kk;_.tI=38;_.a=null;_=Lk.prototype=new Ck;_.y=Ok;_.z=Pk;_.A=Rk;_.tI=39;_.a=null;_.b=null;_=Sk.prototype=new Fj;_.t=Vk;_.eQ=Xk;_.hC=Yk;_.p=$k;_.tI=0;_=_k.prototype=new s;_.r=fl;_.s=gl;_.tI=0;_.a=0;_.b=null;_=hl.prototype=new ik;_.u=ll;_.p=ml;_.v=nl;_.tI=40;_.a=null;_.b=null;_=ol.prototype=new s;_.r=rl;_.s=sl;_.tI=0;_.a=null;_=tl.prototype=new Sk;_.t=Cl;_.u=Dl;_.v=El;_.w=Gl;_.tI=41;_.b=0;_=Il.prototype=new Lj;_.tI=42;_=Ml.prototype=new ik;_.t=Tl;_.u=Ul;_.p=Vl;_.v=Wl;_.tI=43;_.a=null;_=_l.prototype=new Ck;_.y=dm;_.z=em;_.A=gm;_.tI=44;_.a=null;_.b=null;_=hm.prototype=new L;_.tI=45;var $entry=wb;var mf=new Qi,nf=new Qi,kf=new Qi,lf=new Qi;$stats && $stats({moduleName:'simplegadget',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if (simplegadget) simplegadget.onScriptLoad(gwtOnLoad);})();